package decorator.pattern.main;

import decorator.pattern.shape.Shape;
import decorator.pattern.shape.decorator.impl.RedShapeDecorator;
import decorator.pattern.shape.impl.CircleShape;

public class Test {
    public static void main(String[] args) {
        CircleShape circle = new CircleShape();
        circle.draw();
        System.out.println("\n");
        Shape redCircle = new RedShapeDecorator(new CircleShape());
        redCircle.draw();
    }
}
